import Vue from 'vue'
import VueRouter from 'vue-router'
import createDesgin from '../views/create-desgin.vue'
import editDesgin from '../views/edit-desgin.vue'
import clipDesgin from '../views/clip-desgin.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/create-desgin',
    name: 'create-desgin',
    component: createDesgin
  },
  {
    path: '/edit-desgin',
    name: 'edit-desgin',
    component: editDesgin
  },
  {
    path: '/clip-desgin',
    name: 'clip-desgin',
    component: clipDesgin
  },
]

const router = new VueRouter({
  routes
})

export default router
